use "$dataDir/dataset_fires_modis_harvest_daily_weather_new", clear

		local depvar "shf"
		local indepvar "treatment "
		local cluslvl "id_mills"
	
	foreach vd in `depvar' {
		foreach vi in `indepvar'{

	reghdfe `vd' `vi'X2009 `vi'X2010 `vi'X2011 `vi'X2012 `vi'X2013 `vi'X2015 `vi'X2016 `vi'X2017  `vi'X2014 temp_celsius rain rain2  if year>2008 & year<2018, abs(id_mills i.year#i.month) vce(cluster id_mills)

		
coefplot, keep( `vi'X2005 `vi'X2006 `vi'X2007 `vi'X2008  `vi'X2009 `vi'X2010 `vi'X2011 `vi'X2012 `vi'X2013 `vi'X2014 `vi'X2015 `vi'X2016 `vi'X2017) vertical  yline(0, lcolor(black)) graphregion(color(white)) omitted order( `vi'X2005 `vi'X2006 `vi'X2007 `vi'X2008  `vi'X2009 `vi'X2010 `vi'X2011 `vi'X2012 `vi'X2013 `vi'X2014 `vi'X2015 `vi'X2016 `vi'X2017) title("")  ciopts(recast(rcap) color(sea)) recast(connected) color(sea) ytitle(Difference regulated and unregulated facilities, size(small))
			graph export "$mainDir/figures/FigA5_eventstudy_fires_modis.pdf", as(pdf) replace



}
}		

